﻿namespace TPG.SharePoint.Workflow
{
    /// <summary>
    /// Used by workflow pages to indicate their type.
    /// </summary>
    /// <remarks>
    /// You can for instance use this value to differentiate between
    /// association and instantiation forms when using a single 
    /// control for both page types.
    /// </remarks>
    public enum PageType
    {
        /// <summary>
        /// A workflow association form.
        /// </summary>
        Association,
        /// <summary>
        /// A workflow instantiation form.
        /// </summary>
        Instantiation,
        /// <summary>
        /// A workflow modification form.
        /// </summary>
        Modification,
        /// <summary>
        /// A workflow task editing form.
        /// </summary>
        Task,
        /// <summary>
        /// A workflow bulk task editing form.
        /// </summary>
        BulkTask
    }
}
